<template>
  <div>
    <!-- 顶部栏 -->
     <van-nav-bar  title="编辑资料" left-arrow @click-left="$route.go(-1)" />
     <!-- 图像盒子 -->
     <div class="avatar">
        <van-image width="120" height="120" fit="cover" round src="https://img.yzcdn.cn/vant/cat.jpeg" />
    </div>

     <van-cell-group>
  <van-cell title="名称" value="昵称" is-link />
  <van-cell title="性别" value="男"  is-link/>
  <van-cell title="生日" value="2020-1-1" is-link/>
</van-cell-group>
  </div>
</template>

<script>
export default {
name:'edit'
}
</script>

<style lang="less">
.avatar{
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
}

</style>
